function forMatNum(num){
	return num<10?'0'+num:num+'';
}
function initPicker(start,end,mode="date",step=20) {
	let hours=[],minutes=[];
	for(let h=7;h<21;h++){
		hours.push(forMatNum(h));
	}
	for(let m=0;m<60;m+=step){
		minutes.push(forMatNum(m));
	}
	switch(mode){
		case "time":
			return {hours,minutes}
			break;			
	}
}
export{
	initPicker
}